<!DOCTYPE html>
<html>
<head>
<title>Table Example</title>
<style>
table {
border-collapse: separate;
border-spacing: 5px;
caption-side: top;
padding: 15px;
}
th, td {
border: 1px solid black;
padding: 5px;
text-align: left;
}
</style>
</head>
<body>
<table>
<caption>My Table</caption>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Age</th>
</tr>
<tr>
<td rowspan="2">Priya and arjun</td>
<td>sharma</td>
<td>24</td>
</tr>
<tr>
<td colspan="2">Singh and 32</td>
</tr>
<tr>
<td>Sam</td>
<td>Watson</td>
<td>41</td>
</tr>
</table>
</body>
</html>